 /**
 * Description: PAD管理
 * @author:yueyemoyan
 * @since:1.0.0
 *
 * Modification History:
 * Date         Author      Version     Description
 * ------------------------------------------------------------------
 * 2018-05-14   yueyemoyan       1.0.0     Initial
 */
package com.metro.activation.biz.beans.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.metro.core.beans.entity.BaseEntity;
import java.util.Date;
import com.metro.utils.DateUtil;
 /**
 * PAD管理<br>
 *
 * @author:yueyemoyan
 * @since:1.0.0
 * @version [1.0.0, 2018-05-14]
 */
@Data()
@EqualsAndHashCode(callSuper = false)
public class BizPadManagementEntity extends BaseEntity{
    private static final long serialVersionUID=1L;
    //设备编号
    private String deviceId;
    //初次绑定客户端编号
    private String firstClientId;
    //绑定时间
    private Date bindTime;
    //证书编号
    private String certNumber;
    //当前使用客户端
    private String useClientId;
    //最近使用时间
    private Date lastUserTime;
    //状态
    private String status;


    public String getBindTimeStr() {
        return DateUtil.formatDate(this.bindTime, "yyyy-MM-dd HH:mm:ss");
    }
    public String getLastUserTimeStr() {
    	return DateUtil.formatDate(this.lastUserTime, "yyyy-MM-dd HH:mm:ss");
    }

}
